module.exports = {
  devServer: {
    before(app) {
      app.get('/api/counter', (req, res) => {
        res.send({
          code: 200,
          data: Math.floor(Math.random()* 5000)
        })
      })
    }
  }
}